Skip to content

Fix pending chat run-control states#338

Merged
chubes4 merged 1 commit into
mainfrom
fix/runtime-tool-pending-run-control
Jun 18, 2026
Merged

Fix pending chat run-control states#338
chubes4 merged 1 commit into
mainfrom
fix/runtime-tool-pending-run-control

Conversation

@chubes4

@chubes4 chubes4 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Preserve runtime_tool_pending and approval_required chat run-control statuses instead of collapsing them to completed.
  • Keep completed and failed runtime results terminal.
  • Add smoke coverage that pending/approval chat runs remain addressable and are not marked completed.

Tests

  • php -l src/Runtime/class-wp-agent-chat-run-control.php && php -l src/Channels/register-agents-chat-ability.php && php -l tests/chat-run-control-smoke.php
  • php tests/chat-run-control-smoke.php
  • composer smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: implemented and tested runtime-tool pending run-control fix

@chubes4 chubes4 merged commit 0ebf27c into main Jun 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant